import {configureStore} from '@reduxjs/toolkit'
import reducer from './slices/reducer'
const store= configureStore({
    reducer:{
        red:reducer
    }, 
    
})
export default store;
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch;